package com.xgc.oauth.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * oauth2
 *
 * @author xgc
 * @date 2024/01/08
 */
@RestController
@RequestMapping("/oauth")
public class Oauth2Controller {

    @GetMapping("/login")
    public String login(){
        String authorization = "bearer token...";
        return authorization;
    }

    @GetMapping("/other")
    public String other(){
        return "other";
    }


}
